Fix several 'iterating past the end' bugs in Boost.DateTime; Refs #9216