Fixed an issue with one to many relations
Fixed an issue with one to many relations

As described in #2325
lutangar/SonataAdminBundle,lightglitch/SonataAdminBundle,goldbroker/SonataAdminBundle,amine2z/SonataAdminBundle,rmzamora/SonataAdminBundle,edouardkombo/SonataAdminBundle,robhunt3r/SonataAdminBundle,mweimerskirch/SonataAdminBundle,mikemeier/SonataAdminBundle,Th3Mouk/SonataAdminBundle,morgangiraud/SonataAdminBundle,tunne/SonataAdminBundle,rmzamora/SonataAdminBundle,ruscon/SonataAdminBundle,Th3Mouk/SonataAdminBundle,nexylan/SonataAdminBundle,ksom/SonataAdminBundle,peter-gribanov/SonataAdminBundle,edouardkombo/SonataAdminBundle,digitalkaoz/SonataAdminBundle,mgdigital/SonataAdminBundle,tim96/SonataAdminBundle,dankempster/SonataAdminBundle,FabienD/SonataAdminBundle,lightglitch/SonataAdminBundle,Soullivaneuh/SonataAdminBundle,tunne/SonataAdminBundle,gRoussac/SonataAdminBundle,jakublech/SonataAdminBundle,jszmidt/SonataAdminBundle,rschumacher/SonataAdminBundle,mgdigital/SonataAdminBundle,ryanhughes/SonataAdminBundle,idchlife/SonataAdminBundle,ARTACK/SonataAdminBundle,morgangiraud/SonataAdminBundle,arbislimen/SonataAdminBundle,ryanhughes/SonataAdminBundle,ARTACK/SonataAdminBundle,ellementA/SonataAdminBundle,OskarStark/SonataAdminBundle,ju1ius/SonataAdminBundle,news-life-media/SonataAdminBundle,gnorby88/SonataAdminBundle,claudusd/SonataAdminBundle,morfin60/SonataAdminBundle,joshlopes/SonataAdminBundle,dankempster/SonataAdminBundle,vincenttouzet/SonataAdminBundle,binhle410/SonataAdminBundle,jszmidt/SonataAdminBundle,mohebifar/SonataAdminBundle,binhle410/SonataAdminBundle,jordisala1991/SonataAdminBundle,dmarkowicz/SonataAdminBundle,goldbroker/SonataAdminBundle,mohebifar/SonataAdminBundle,andythorne/SonataAdminBundle,andythorne/SonataAdminBundle,goldbroker/SonataAdminBundle,fosvn/SonataAdminBundle,vincenttouzet/SonataAdminBundle,osavchenko/SonataAdminBundle,Koc/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,jlamur/SonataAdminBundle,peter-gribanov/SonataAdminBundle,Storke/SonataAdminBundle,mohebifar/SonataAdminBundle,rschumacher/SonataAdminBundle,Romashka/SonataAdminBundle,andythorne/SonataAdminBundle,news-life-media/SonataAdminBundle,morfin60/SonataAdminBundle,jakublech/SonataAdminBundle,rschumacher/SonataAdminBundle,idchlife/SonataAdminBundle,edouardkombo/SonataAdminBundle,morgangiraud/SonataAdminBundle,FabienD/SonataAdminBundle,sonata-project/SonataAdminBundle,joshlopes/SonataAdminBundle,ju1ius/SonataAdminBundle,dmarkowicz/SonataAdminBundle,OskarStark/SonataAdminBundle,jlamur/SonataAdminBundle,rswork/SonataAdminBundle,jordisala1991/SonataAdminBundle,vincenttouzet/SonataAdminBundle,ryanhughes/SonataAdminBundle,ju1ius/SonataAdminBundle,claudusd/SonataAdminBundle,ARTACK/SonataAdminBundle,lutangar/SonataAdminBundle,news-life-media/SonataAdminBundle,edouardkombo/SonataAdminBundle,Koc/SonataAdminBundle,greg0ire/SonataAdminBundle,morgangiraud/SonataAdminBundle,qsomazzi/SonataAdminBundle,cmacetko/SonataAdminBundle,osavchenko/SonataAdminBundle,Soullivaneuh/SonataAdminBundle,fosvn/SonataAdminBundle,ossinkine/SonataAdminBundle,core23/SonataAdminBundle,lutangar/SonataAdminBundle,mgdigital/SonataAdminBundle,greg0ire/SonataAdminBundle,j-ledoux/SonataAdminBundle,cmacetko/SonataAdminBundle,fosvn/SonataAdminBundle,dmarkowicz/SonataAdminBundle,Armstrong1992/SonataAdminBundle,osavchenko/SonataAdminBundle,fosvn/SonataAdminBundle,ksom/SonataAdminBundle,news-life-media/SonataAdminBundle,arbislimen/SonataAdminBundle,Armstrong1992/SonataAdminBundle,jlamur/SonataAdminBundle,binhle410/SonataAdminBundle,tim96/SonataAdminBundle,ellementA/SonataAdminBundle,tskorupka/SonataAdminBundle,cmacetko/SonataAdminBundle,claudusd/SonataAdminBundle,greg0ire/SonataAdminBundle,ejkun/SonataAdminBundle,jszmidt/SonataAdminBundle,amine2z/SonataAdminBundle,0mars/SonataAdminBundle,rmzamora/SonataAdminBundle,j-ledoux/SonataAdminBundle,qsomazzi/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,jakublech/SonataAdminBundle,jszmidt/SonataAdminBundle,jlamur/SonataAdminBundle,Romashka/SonataAdminBundle,morfin60/SonataAdminBundle,ellementA/SonataAdminBundle,robhunt3r/SonataAdminBundle,osavchenko/SonataAdminBundle,tunne/SonataAdminBundle,rswork/SonataAdminBundle,digitalkaoz/SonataAdminBundle,Denniskevin/SonataAdminBundle,OskarStark/SonataAdminBundle,ARTACK/SonataAdminBundle,greg0ire/SonataAdminBundle,dmarkowicz/SonataAdminBundle,tunne/SonataAdminBundle,ejkun/SonataAdminBundle,Romashka/SonataAdminBundle,digitalkaoz/SonataAdminBundle,Th3Mouk/SonataAdminBundle,ejkun/SonataAdminBundle,FabienD/SonataAdminBundle,mohebifar/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,Denniskevin/SonataAdminBundle,core23/SonataAdminBundle,robhunt3r/SonataAdminBundle,dmarkowicz/SonataAdminBundle,nexylan/SonataAdminBundle,ksom/SonataAdminBundle,j-ledoux/SonataAdminBundle,gnorby88/SonataAdminBundle,ksom/SonataAdminBundle,tim96/SonataAdminBundle,ossinkine/SonataAdminBundle,Romashka/SonataAdminBundle,ossinkine/SonataAdminBundle,gnorby88/SonataAdminBundle,j-ledoux/SonataAdminBundle,dankempster/SonataAdminBundle,Storke/SonataAdminBundle,binhle410/SonataAdminBundle,qsomazzi/SonataAdminBundle,tskorupka/SonataAdminBundle,mgdigital/SonataAdminBundle,core23/SonataAdminBundle,arbislimen/SonataAdminBundle,Soullivaneuh/SonataAdminBundle,Storke/SonataAdminBundle,jakublech/SonataAdminBundle,ju1ius/SonataAdminBundle,peter-gribanov/SonataAdminBundle,mikemeier/SonataAdminBundle,claudusd/SonataAdminBundle,ruscon/SonataAdminBundle,j-ledoux/SonataAdminBundle,arbislimen/SonataAdminBundle,joshlopes/SonataAdminBundle,mikemeier/SonataAdminBundle,cmacetko/SonataAdminBundle,lightglitch/SonataAdminBundle,mweimerskirch/SonataAdminBundle,nexylan/SonataAdminBundle,core23/SonataAdminBundle,binhle410/SonataAdminBundle,rswork/SonataAdminBundle,0mars/SonataAdminBundle,amine2z/SonataAdminBundle,jordisala1991/SonataAdminBundle,jordisala1991/SonataAdminBundle,0mars/SonataAdminBundle,ejkun/SonataAdminBundle,qsomazzi/SonataAdminBundle,rschumacher/SonataAdminBundle,tskorupka/SonataAdminBundle,rmzamora/SonataAdminBundle,Soullivaneuh/SonataAdminBundle,vincenttouzet/SonataAdminBundle,gRoussac/SonataAdminBundle,sonata-project/SonataAdminBundle,lightglitch/SonataAdminBundle,ryanhughes/SonataAdminBundle,FabienD/SonataAdminBundle,goldbroker/SonataAdminBundle,peter-gribanov/SonataAdminBundle,mweimerskirch/SonataAdminBundle,OskarStark/SonataAdminBundle,0mars/SonataAdminBundle,Th3Mouk/SonataAdminBundle,digitalkaoz/SonataAdminBundle,Denniskevin/SonataAdminBundle,Koc/SonataAdminBundle,gnorby88/SonataAdminBundle,ellementA/SonataAdminBundle,gRoussac/SonataAdminBundle,ossinkine/SonataAdminBundle,dankempster/SonataAdminBundle,amine2z/SonataAdminBundle,Romashka/SonataAdminBundle,ruscon/SonataAdminBundle,tskorupka/SonataAdminBundle,idchlife/SonataAdminBundle,nexylan/SonataAdminBundle,mweimerskirch/SonataAdminBundle,robhunt3r/SonataAdminBundle,mikemeier/SonataAdminBundle,ruscon/SonataAdminBundle,gRoussac/SonataAdminBundle,ejkun/SonataAdminBundle,idchlife/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,ellementA/SonataAdminBundle,lutangar/SonataAdminBundle,news-life-media/SonataAdminBundle,Storke/SonataAdminBundle,osavchenko/SonataAdminBundle,joshlopes/SonataAdminBundle,tim96/SonataAdminBundle,rswork/SonataAdminBundle,UnDeleteRU/SonataAdminBundle,jlamur/SonataAdminBundle,Koc/SonataAdminBundle,morfin60/SonataAdminBundle,Denniskevin/SonataAdminBundle,andythorne/SonataAdminBundle,morfin60/SonataAdminBundle