Added DataUnit type check for newly created edges #149