Trim aliases in AliasGroup