Simplify condition

No functional change