Fixed faulty argument comparisons