bugfix for https://github.com/tangentlabs/django-oscar/issues/767