Changed the order in which the interactions where checked in addNetwork