Fixed bug with deleted shared content item

Fixed the bug which was causing the content block widget to continue showing a content item which is already deleted