Fix delete IP on switch inventory. closes #2716