Fix nasty bug in code to fold records based on MARC fields