test(filters): fix timezone-dependent test

Closes #4218