Fix NuGet/NuGetGallery#2287 - indexing issue with listed flag

Fixes NuGet/NuGetGallery#2287
Here be the offending line *facepalm*