Bug 2047: another fix for error during search when there is no MARC::Record