Simplified some boolean logic.
Missed in previous commits.