Fix deleted entity
