Recording rule problem with count_over_time 1m and sum by [1h:1m]

Hi,
we are trying to count number of logs per minute:

groups:
  - name: ozeki
    interval: 1m
    rules:
      - record: gate:sms:count1m
        expr: |
          sum(count_over_time({app="Ozeki"}[1m]))

And then count number of request per day:

sum_over_time(gate:sms:count1m[1d:1m])

But this result is different from doing request on loki:

sum(count_over_time({app="Ozeki"}[1d]))

It is because recording rule on Loki is every time starting at different time by few seconds, so some records are counted twice and some are not counted at all.

Is it possible to update recording rule so it starts XX:00 and ends atd XX:59? Or is there any other solutions?