Having problems matching files & getting names

Hi all -
I've got a workflow set up where Hazel moves old files from my desktop to a dated folder within an archive folder in my Dropbox. I want to set up a workflow that works on this folder to delete any files older than 30 days, and put the name of the deleted file into a text file so I can track it later.
Here's what I've got set up in Hazel:
http://neil.io/XGDy
It's set to work on the top level archive folder. When I do a test run I end up with folder names in the deleted text file instead of files.
Can someone point me to where I've gone wrong here?
I've got a workflow set up where Hazel moves old files from my desktop to a dated folder within an archive folder in my Dropbox. I want to set up a workflow that works on this folder to delete any files older than 30 days, and put the name of the deleted file into a text file so I can track it later.
Here's what I've got set up in Hazel:
http://neil.io/XGDy
It's set to work on the top level archive folder. When I do a test run I end up with folder names in the deleted text file instead of files.
Can someone point me to where I've gone wrong here?