Fix Isearch issue #297