Fixed maintenance window handling.