ticket #5502 fixes
Merge pull request #17 from Backendless/rel_depth_fix_5502

ticket #5502 fixes