fix(DateFilter): fix a wrong type

Closes #579