Fix parsing of multiple records.