Comparator changed, wrong method called