Fix issue where Web UI was showing jobs that ONLY run in the current environment

Fix issue where Web UI was showing jobs that ONLY run in the current environment, so rails_env: "development, production" would not work if the environment was "production".