Fix downtime scheduled start/end sort error