Found the problem.
This is working as expected.

Problem was on the ```locationService->newLocationCreateStruct( $restrictedFolder->id ) )``` loading wrong location.
Fixing it and updating on next commit.