fixing deleting rows check, to make sure we are getting rows that may have been moved.