fix(namespace alias expander): expand namespace aliases when used in any expression

Also adding logging around expansion.