fix search regression (bug 887482)