Added default parameter in attribute comparator