OAK-1980 - Use index on non-root node

Applying OAK-1980.patch. Thanks Marcel.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1615904 13f79535-47bb-0310-9956-ffa450edef68