Fix failing test in dates/query.jl