I Can see when syncing it grabs the correct amount of albums, but it doesn’t sync the correct amount of tracks then doesn’t display the albums.
As I’m writing this I am realizing that it’s probably not displaying the albums because it’s not syncing the tracks, even though the tracks appear and play on jellyfin without issue.
There’s not much I can do about all the bug of Jellyfin API.
But yes by default empty albums are removed after sync. If Jellyfin does not return all tracks from the calls but return them after you do something to the metadata, then you need to do that thing to workaround Jellyfin issue.