fix #10, remove networks with no remaining interactions