Default to all maintenances that haven't finished - duration now shows all time that the maintenance was active for
Bitten by putting two commands together - the if only applies to the latter command.  Oops.