Rewrite joins support to work with fulltext queries, resolves #470