Fixed passing connection id for search