Fix path escaping with path depth limitation.
Merge pull request #27 from 4teamwork/jone-query-slash-escaping

Fix path escaping with path depth limitation.