Fix another boundary condition bug: granules can span days