FAIMS-636: fixed bug with trying to update files that have thumbnails on other devices