[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.
Merge pull request #366 from ehsavoie/WFCORE-57-fix

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