Fix plugins loading before the search has been made