Very small feature request: Placeholder for "Parent group name"

The script seems to work for the first Group (as shown in the hierarchy in my initial post) but for three other groups (lower down, and one nested further into, the hierarchy) for some mysterious reason gives me the notification “Filed by year in Personal > Tags” (which is a group which does not specifically appear in that database). However, subject to that, Location would be an excellent placeholder to have.

I’m sorry all of this is so much of a pain! It certainly does highlight again my woeful lack of knowledge of AppleScript.

Stephen