Fixed the issue when search keyword contains [ and ]