fix(actions/form): Fix inaccurate state check.
fix(actions/form): Fix inaccurate state check.

fix #597

opentripplanner/otp-react-redux,opentripplanner/otp-react-redux,opentripplanner/otp-react-redux,opentripplanner/otp-react-redux