My fault, the times are held as UTC. The extra hour is coming from conversion to local time. The correct conversion should be
ToUTC(DateAdd(day, @DeltaDays, ToLocal(MasterStartTime)))