Fix get devices with iprange in chlid entities. closes #2732