Turn entity list of MapM into a set