Fix automated leap second generator