Properly handle brackets when used inside the search keyword. Bug #63330