fixes bug 1098120 - "Available columns" list has many duplicate entries

@AdrianGaudebert r?

The change is tiny but oh my! it took a while to comprehend just what's going and where this comes from. Memory like a amnesiac goldfish. 
And it took a bunch of time to understand how to write a test for it.