Bug #2874: Fixed duplicate columns selection for HAS_MANY relation with composite primary key
Merge pull request #2874 from borro/patch-1

Foreach on the $this->_pkAlias