In iTunes 11, apparently, all songs from a certain album show up in Expanded View, even those which have not been purchased.

Though this is working for some albums, it is not working for others.

There does not seem to be a pattern to it. Even CD rips are showing missing songs to download from the store. And even purchased albums fail to do so.
How do I make iTunes more consistent with this?