[WFCORE-57-fix] : Fixing issue with squatrter resources aliases.

When the alias isn't on the child name but on multiple PathElements then we don't detect it properly.
Fixing this case.