Rules are trashing parent folders instead of files

I have a directory made up of several subdirectories. Each of these subdirectories contains one or more HTML files (which are generated by a program I've written). Often times, the HTML files will not contain actual data, but just a header/footer set. These "empty" files will always be less than 5kb in size (and non-empty files will always be substantially larger). I'm trying to remove these files automatically using Hazel.
Here's my rule, applied to the top directory (called "output"):

Click for large view
When I run this rule, it Trashes all of the folders that contain any of the "empty" files (which, incidentally, also house lots of non-empty files that are also moved to the Trash).
This may be my own inexperience with Hazel (I'm a relatively new user), but this operation seems pretty straightforward.
What am I doing wrong?
(Also, forgive me if this is a duplicate — I searched before posting this, but didn't find anything that addressed this issue).
Thanks!
Here's my rule, applied to the top directory (called "output"):

Click for large view
When I run this rule, it Trashes all of the folders that contain any of the "empty" files (which, incidentally, also house lots of non-empty files that are also moved to the Trash).
This may be my own inexperience with Hazel (I'm a relatively new user), but this operation seems pretty straightforward.
What am I doing wrong?
(Also, forgive me if this is a duplicate — I searched before posting this, but didn't find anything that addressed this issue).
Thanks!