Fix cart validation