Fixed bug where non-existent cart broke things