MDL-28348 fix fatal error caused by unenrolling of incorrect enrol instance