You'd think it would be fairly easy to control for population density. However the study abstract indicates the only other confounding variable they controlled for was 'temperature'.
EDIT: And the link between cities and higher crime seems to be well known and well studied. Here's what a quick google turns up: https://www.jstor.org/stable/10.1086/250109?seq=1#metadata_i...