OPENJPA-2100 fix filterPersistenceCapable Fixing a bug which got introduced in r1091279 and caused entities which contained enums to be broken.