Fix condition

Unless was necessary for the old condition on the environment production predicate method