Updated PolymorphicORMTable.caseClasses to be a Vector instead of List since it is used for indexed reference.