Fix issue OE 318

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