fixed gazetteer bug that was deleting entities in a mutable set