Fixed a small error in the mass_action function

Not needed in the timezone correction pull request