Bug fix at cleaning transaction cookie on cart function