Bug #4826 Errors occur when searching