Small fix to searchpanel.