Logic in previous commit was inverted