Removed clear from FlowNetwork destructor.