PIM-2830: Allow to find last or first version entry independently of it's a pending version or not
Merge pull request #1219 from akeneo/PIM-2830

PIM-2830: Link a published product to a version
Merge branch 'master' into fix/PIM-2781