HHH-9414  MarkerObject reference checking is wrong after deserialization of the PersistenceContext