Rudimentary search fixed