node-ttl not working as expected

So I'm a bit confused about how node-ttl and node-purge-ttl should work. I have them setup in the database.ini file. node-ttl is set to 35m and node-purge-ttl is set to 5m. From the puppetdb docs I draw the conclusion that with these settings, a node will be expired after 35 minutes of inactivity e.g. node is dead and didn't check in with master for 35 minutes, and after 5 minutes the node should be purged from the db.

But this doesn't seem to happen. The node is still there looking alive and happy even after more than 40 minutes after it was terminated.
However, the node seems to disappear after the db performs the compaction according to gc-interval.

Am I understanding this functionality correctly? And if I am, what am I doing wrong? I'm using latest versions of puppetdb and puppetserver.