If I remember correctly…
You can not exclude folders in Hardened mode but can only exclude files.
If you were to exclude a folder, you’d get the red exclamation mark.