Fixed template so that when users are not set and group is listed instead then no blank alias is inserted