Fix id removal process.
Merge branch 'issue/348_361_Retry_failed_media_uploads' into develop