Fixed if statements in aliases.