Cart api fixes

A couple of fixes to the API changes I included in 1.2.9