Modified search and idasearch to use new constructor without probability