Fix validate_record spec