getNodesByProperty was not available as tree function. Fixes #283