Support setting subclass instances in polymorphic attributes (there wasan issue that caused PendingReferenceException because JOPA was checkingfor instances of the attribute type and not the actual instance type). (commit: 3f98751)