Corrected compareRows_2