Fix minTime and maxTime possibly being negative
Fixed syntax error in Xbox redeemer