Fix bug RoutineComponent::search