Fixed basket reset in db

Fixes https://github.com/sonata-project/ecommerce/issues/238