Update GroupByQueryEngine.java

Added a fix to avoid "NoSuchElementException" on realtime which would happen quite under situation where there are heavy queries with heavy query load.