fix for get_node not working with anchors with IDs - close #863