Attempting to fix a bug in pack-records. replaced break with continue