Fixed if clause.