Fixes #3127: duplicated software entries in inventory leads to errors when trying to save the node