fixed bug in confession search.