PIM-2349 Prevent versioning product when it has been deleted