PIM-2441: Fix issue on ORM implementation
Merge pull request #1037 from akeneo/PIM-2441

PIM-2441: Fix issue on ORM implementation