Fix getting rows.