fix bug-query entity
Merge pull request #82 from forumbyr/master

fix bug-query entity