Small change in getRecordTypeId. It now expects a record id