Correct logic change of Node_selectedDescendant to fix #3650

Node_selectedDescendant() also returned true if the node itself was
selected.