Simplify conditional