Prevent highlighted item from going off the list
Strip out non-word characters from photo query