A bug in the shallow LegoBaseScanner resolved. This bug was leading to incorrect results even for shallow code of Q2 and Q10.
C code generated for all queries in the case of HM->Array of Array