Fixed searching for input buttons