Changed queries to get some better performance
Bugfix for nonunique words in sentences