LuceneRecommender: fixed bug related with QueryParserException (empty query).