Fix inverted boolean logic introduced in changeset 01399128964f