added to_searchable so searches in table can give accurate curpos
fixed issue of multiple matches in a row