AS not displaying all local albums

I’ve just noticed that there’s an artist in my local library that AS isn’t displaying the local albums. It’s only displaying the albums available in Tidal and playlist that include tracks from the artist. It’s the across all local artists but just one that I’ve found so far. The local files are AIF files the same as all my other local files.
Does anyone have any idea why this is happening?

I’ve fixed it by running a defragmentation of the data base.