I'm trying to say the current way of indirectly determining whether the input is user entered is not correct. Suppose the previous search terms were [`d`, `a`, `ab`]. If you now type `a` into the search box and press `Up`, you would get matches `d`, `a,` and `ab` in that order. The expected matches should be `a` and `ab`.