quick fix a minor bug that relates to redundent entries come from query.
Merge branch 'master' of https://github.com/zhuww/ubc_AI
Merge branch 'master' of https://github.com/zhuww/ubc_AI