JCR-4001: When using Node.getProperties(String namePattern) also child nodes are processed (ported to 2.16)