altered selection object so nodes and edges can have the same ID (bug occurrence in example 16 #68)