Fixed an issue with named queries

Fixed EsHadoopIllegalArgumentException when parsing result of a named query (#273)