Fix deletion of related records configured with array (in HAS_MANY repation with ['foreignPk'=>'myKeyField'] as foreign key)