Fixed SelectionNode and its generation. Had to include the (unsigned) binding in order to be able to retrieve the related relation.