Fixed problem with maintenance queue losing work