bug-fix : using IDs of selected leads only