Fixed model. Added right primary keys for xPDOObjects.