Use sets instead of lists to store config node values.
Add has_value method to the config node class.
For multi nodes, check if a value already exists before adding it.