Finish not_exists_in_enrollments function