fixes #4475 Delete option is not in the options of archived content

Fixed the issue and pushed the code for review, please check it.