HCSVLAB-719: Fixed bug when cleaning the created context when an error occur. Also added extra debug information when item is present in Solr but not in Sesame.