TUP-2270: add one helper to remove preference nodes for ids.