Fix name of populate_records() function. #409