Issue 270: getSelectedNodesUnder: return empty array instead of null