Compare rows fix