Fixes workflow actions and permission message not to show when the content is archived.