Removing item from cart bug fix

Access to associative array element changed to object attribute