Fixed BZ#968729 - Search logic with AND returns OR results.