Fixes search feature.