‘Wrong sort’ would certainly be understood as foreigners not lower classes - note late Rep anxieties about struggles of decent peasant folk as they’re the ones who supply soldiers. Ancient states view more people as good, in contrast to Malthus et al. (Walter Scheidel has written on this).