fix for open-classifieds/openclassifieds2#889