Fix bug in navbar seach