Change order: first delete path alias before deleting entity.