Fix inverted test in previous commit.