Corrects comparison method