Fixed related-record-field bug