iOS: Missing photo uploads after IMG_9999

I noticed not all of my new photos get uploaded to the cloud since there seems to be a problem with the photo names. After IMG_9999.heic (or .jpg, .mov, โ€ฆ), iOS provides the photos starting from IMG_0001 again. While this is not an internal problem to the phone, it does not synch correctly on NextCloud (probably because the file names already exist). Any ideas of how to resolve this?

Sounds like a bugโ€ฆ can you open an issue over at Issues ยท nextcloud/ios ยท GitHub ?