Quality of life concerns weigh heavily on rail contract vote