Changed search mode to boolean mode