NXP-12244: remove orphan versions also when removing last proxy