tighten up an if statement

more readable now