DNN-5733 - All the operations done over a module that has been added in a specific version mantein the status of the module as 'Added'. This provoked an error when we tried to restore a version containing module 'Modified' when they were really 'Added'.