Fixed errors within search bar