search: removed bugs in processBooleanQuery