Merge pull request #12700 from mitaclaw/search-instruction-optimize MenuBar: Optimize SearchInstruction