Fix Search input bug