Fix input handling in search panel