prevent exception on unmatched isearch
fix isearch result on 'next match' request
allow reverse isearch to find the first history item