Further optimizations on queries and on the Hashtag model