This commit makes sure that SUN can be used at the beginning of a range, like SUN-FRI. Closes gh-26598