Fix inverted Q_ASSERT