fixed the query to pick up duplicate terms that end with a numeral.

see https://github.com/GigaOM/legacy-pro/issues/2011
Merge pull request #57 from wluo/github-2011

fixed the query to pick up duplicate terms that end with a numeral