Fix issue 307

Fix https://github.com/open-classifieds/open-eshop/issues/307