fix bug: query type parse problem
Merge pull request #401 from forumbyr/master

fix bug: query type parse problem