Fix bug in getting ip_lease id from interface for DHCP tmp hack