fix date filter mistake