Actually filter by date

http://manage.dimagi.com/default.asp?132094#742579
oh crap, yeah, fixing