Fix bug in marshaller causing referencefields in listfields to not get loaded correctly