Fix type error in CSV builder
More defense against bad concept names
more protection against bad concept names