Changed maximize and minimize operations to correct for DST boundaries.