Fix counter issue on failing endorsement creation