adds check for Media.extension !== 'youtube' when deleting Media