Made some bug fixes in code that allowed user to confirm empty cart.