Implementing leaf key path filtering