That's pretty useful. On the form, the "Date before" and "Date after" field naming is confusing. I'd expect the earlier date to display first and be called "from" rather than "Date after". You could probably restrict the date fields too so users can't pick dates in the future