Fix array pk deletion

Deletion not happened, when HAS_MANY relation uses ['foreignField' => 'myField'] syntax as foreign key.

This PR fixes problem, tested on production.