JSON ChemSpider client: corrected triggering of some error logging events