Fix key in entities delete.