Bugfix with wrong checking of unexisted nodes of returned xml and logging errors