In projects with ActiveSupport the invalid dates are not handled correctly.
Merge pull request #29 from eliank/date_filter_fix

In projects with ActiveSupport the invalid dates are not handled correctly