Fix crash during attempt to refetch managed object mapped dynamically within a collection. fixes #1298