Fix duration type=int for 'add'