Selection against genetic defects in conservation schemes while controlling inbreeding