Made search bar functional again