keypather set bug - 3+ depth

This fixes a bug that currently limits the depth of keypather's get to only one level