Emma,
Thanks I did a bit more testing. When I deleted the student enrolment the relevant row in user_enrolments table was deleted. If I suspend the student enrolment the status field goes from 0 to 1. So still can't find where cron is looking to find that the enrolment has been deleted.
thanks,
Stu