Minor change to get_records