This is confusing to me; isn't this compensated for twice? https://github.com/dimagi/dimagi-utils/pull/121 already checks for inclusive and subtracts a day.