1. Fixed an error which caused most like records to be lost.