Call flushSortKeys when record is skipped to fix bad re-use of