fixes EPR ordering bug and bug that destroys all EPRs for Entity when Property is destroyed.