fixes #12 Crashes when owner model has complex PK

fixes #12 Crashes when owner model has complex PK ( ex.:
array('field_1', 'field_2') )