bug-fix : check whether lead is selected or not before calling findConnectionsBatched for that lead