Fixing segfault with mismatching set &default in record field.