Fix for persisting classes with parameterized ForeignCollection in supertype (issue #10)