Fixed bug in add and remove iprange.
Merge branch 'test' into dev