Fix a bug in AQL COLLECT statement. Sorts out #1127.
Fix a bug in AQL COLLECT statement. Sorts out #1127.

This concerned every COLLECT statement, only the first group had access
to the values of the variables before the COLLECT statement.

graetzer/arangodb,joerg84/arangodb,fceller/arangodb,m0ppers/arangodb,arangodb/arangodb,hkernbach/arangodb,kangkot/arangodb,hkernbach/arangodb,thurt/arangodb,graetzer/arangodb,baslr/ArangoDB,m0ppers/arangodb,kangkot/arangodb,joerg84/arangodb,wiltonlazary/arangodb,kangkot/arangodb,hkernbach/arangodb,graetzer/arangodb,jsteemann/arangodb,jsteemann/arangodb,baslr/ArangoDB,fceller/arangodb,arangodb/arangodb,graetzer/arangodb,wiltonlazary/arangodb,kangkot/arangodb,joerg84/arangodb,m0ppers/arangodb,thurt/arangodb,jsteemann/arangodb,Simran-B/arangodb,kangkot/arangodb,wiltonlazary/arangodb,arangodb/arangodb,jsteemann/arangodb,hkernbach/arangodb,graetzer/arangodb,joerg84/arangodb,arangodb/arangodb,arangodb/arangodb,thurt/arangodb,wiltonlazary/arangodb,hkernbach/arangodb,hkernbach/arangodb,graetzer/arangodb,hkernbach/arangodb,thurt/arangodb,CoDEmanX/ArangoDB,fceller/arangodb,fceller/arangodb,jsteemann/arangodb,arangodb/arangodb,CoDEmanX/ArangoDB,CoDEmanX/ArangoDB,joerg84/arangodb,CoDEmanX/ArangoDB,baslr/ArangoDB,hkernbach/arangodb,graetzer/arangodb,m0ppers/arangodb,thurt/arangodb,kangkot/arangodb,graetzer/arangodb,m0ppers/arangodb,joerg84/arangodb,graetzer/arangodb,m0ppers/arangodb,joerg84/arangodb,jsteemann/arangodb,Simran-B/arangodb,hkernbach/arangodb,baslr/ArangoDB,joerg84/arangodb,kangkot/arangodb,m0ppers/arangodb,joerg84/arangodb,thurt/arangodb,hkernbach/arangodb,kangkot/arangodb,CoDEmanX/ArangoDB,thurt/arangodb,wiltonlazary/arangodb,hkernbach/arangodb,baslr/ArangoDB,kangkot/arangodb,baslr/ArangoDB,fceller/arangodb,m0ppers/arangodb,joerg84/arangodb,fceller/arangodb,Simran-B/arangodb,thurt/arangodb,m0ppers/arangodb,joerg84/arangodb,graetzer/arangodb,jsteemann/arangodb,Simran-B/arangodb,fceller/arangodb,m0ppers/arangodb,fceller/arangodb,hkernbach/arangodb,Simran-B/arangodb,thurt/arangodb,hkernbach/arangodb,graetzer/arangodb,fceller/arangodb,CoDEmanX/ArangoDB,baslr/ArangoDB,wiltonlazary/arangodb,joerg84/arangodb,m0ppers/arangodb,Simran-B/arangodb,graetzer/arangodb,baslr/ArangoDB,jsteemann/arangodb,fceller/arangodb,baslr/ArangoDB,graetzer/arangodb,baslr/ArangoDB,CoDEmanX/ArangoDB,jsteemann/arangodb,Simran-B/arangodb,thurt/arangodb,baslr/ArangoDB,baslr/ArangoDB,wiltonlazary/arangodb,baslr/ArangoDB,kangkot/arangodb,wiltonlazary/arangodb,arangodb/arangodb,m0ppers/arangodb,CoDEmanX/ArangoDB,Simran-B/arangodb,CoDEmanX/ArangoDB,m0ppers/arangodb,jsteemann/arangodb,hkernbach/arangodb,Simran-B/arangodb,graetzer/arangodb,arangodb/arangodb,CoDEmanX/ArangoDB,joerg84/arangodb,Simran-B/arangodb,baslr/ArangoDB,joerg84/arangodb