Adding code to cope with withdrawn vacancies