fixed a bug that get_method() causes when idx is not used
Merge branch 'adios-query' of https://github.com/ornladios/ADIOS into adios-query