Simplify conditions