Fixes #4149: Restore cat. with same name and different parents