fixes behaviour on optional BmaxLuceneQueryBuilder