Fixed same iprange for multiple roles issue