Fix edges/IIPs being cleared on a remove edge/IIP command on network protocol

JavaScript you got me again...