Attempting to fix an empty cart crash