Fixed EntityContext modifying query objects, closes #8519
Fixed EntityContext modifying query objects, closes #8519

While this is not the right fix for the issue, it is the easiest one for now

thinkingmedia/cakephp,ADmad/cakephp,nrother/cakephp,berrygoudswaard/cakephp,thinkingmedia/cakephp,cakephp-fr/cakephp,petteyg/cakephp,HavokInspiration/cakephp,CVO-Technologies/cakephp,berrygoudswaard/cakephp,ionas/cakephp,davidyell/cakephp,garethellis36/cakephp,cakephp/cakephp,ionas/cakephp,berrygoudswaard/cakephp,ADmad/cakephp,tenkoma/cakephp,nrother/cakephp,tenkoma/cakephp,dakota/cakephp,jeffblack360/cakephp,CakeDC/cakephp,CakeDC/cakephp,dakota/cakephp,elboletaire/cakephp,mvdriel/cakephp,CakeDC/cakephp,elboletaire/cakephp,jeffblack360/cakephp,CVO-Technologies/cakephp,ndm2/cakephp,cakephp/cakephp,ionas/cakephp,dakota/cakephp,garethellis36/cakephp,tenkoma/cakephp,CakeDC/cakephp,elboletaire/cakephp,jeffblack360/cakephp,HavokInspiration/cakephp,petteyg/cakephp,davidyell/cakephp,tgr0ss/cakephp,ndm2/cakephp,mvdriel/cakephp,petteyg/cakephp,mvdriel/cakephp,tenkoma/cakephp,davidyell/cakephp,cakephp/cakephp,cakephp-fr/cakephp,thinkingmedia/cakephp,cakephp/cakephp,garethellis36/cakephp,ADmad/cakephp,garethellis36/cakephp,tgr0ss/cakephp,CVO-Technologies/cakephp,nrother/cakephp,tgr0ss/cakephp,ndm2/cakephp,ADmad/cakephp,mvdriel/cakephp,petteyg/cakephp,dakota/cakephp,cakephp-fr/cakephp,ndm2/cakephp,HavokInspiration/cakephp