Moved duplicates test back to parse_equation_list()