Fix assigning only known attributes for new records