fixes bug 1047455 - Massive searches error LoggedSearch