"Rounding up" the end time so that all data is aggregated.

The timestamps published by NcWMS are not as precise as those actually stored in the netCDF files, meaning that sometimes data is truncated without this change.