issue #225 Sonata list not work with entity when id field is associated with another entity

pull request for #225
This not works because the array results differs. So the foreach will fail on index.

Will try to make another PR for comparaison.