Limit the number of empty records that will be processed consecutively