Fix inverted asserts