fix mass_update bug that caused all records in a table to be updated when selecting over one page of records