BUG: Fix issue #271

Unique/single-valued columns were removed from the mapping file even if these
were selected with the --color_by option. I've added a few test cases to check
for this.

Fixes #271