When using "/cart?add-to-cart=ID" instead of "/cart`/`?add-to-cart=50" causes the item to be added twice. The first time is just before the redirect and then again after the redirect.