Minor change to getRecords