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

This reverts commit 8058a182d3d78af5308ce08390373daaeda8ba0c.