fixing between queries + interval '1 day'