Minor fixes in fulltext search