Also adding alias resolution to isDependent's algorithm (for circular dependency detection). Issue: SPR-8834 Issue: SPR-7966