Archiving folders should archive tasks

I just archived a folder and noticed that the tasks related to that folder were still very much visible in my tasks list.
The behaviour I would expect out of this would be that the tasks connected to this folder would be archived or orphaned or somehow hidden.
Or am I interpreting this entirely the wrong way?