LPS-46221 Fix SF
LPS-46221 Generate query when walking backwards to prevent requiring an additional forward walk
LPS-46221 Support additional container ascendants