Replaced isearch with selected region trick with more elegant one.