Fix issue 316

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