.......PS. [ZBX-8092] fixed old_status variable from DCsync_hosts(); made similar changes in DCsync_items()