Adding condition for the rare case where someone goes to the cart page, and there is no existing @cart