Fixing the recursive resource rights edition.
Fixing 2 tests.