Fix recordTypeId getter