Inverted an if clause.