Restored functions for searching with only 1 error