Cleansing where query

removing duplicates and empty values
Merge branch 'master' of https://github.com/jpdevries/hits