Dates fix to the cart controller.