This bug did not happen for a eager field of type SortedSet instead of Collection (for which Hibernate uses PersistentSortedSet instead of PersistentBag).