Fix for #2094

When the VN is deleted, the "deleted" flag in the VN UVE is set to True and is updated in the UVE cache. When the deleted VN is recreated, the "deleted" flag is not set (None). The code expects the "deleted" flag to be set to False and hence the VN is not updated in the cache.