How the alias is used for a folder (or other containers) is inconsistent. It changes based if the folder has children.
See the following example. name1 shows the title as desc1. But name2 shows the title as desc2, just because it has children. The title behavior shouldn't change just because there are children. I would say it should always show the description (the part in quotes).
folder name1 as "desc1"
folder name2 as "desc2" {
file test2b
}
folder "desc1b" as name1b {
}
folder "desc2b" as name2b {
file test2b
}