The number of military members serving in care homes who have tested positive is rising.