Fixed problem where we'd add a leading comma to the secondary groups field when there was only one group. Fixes #43.
Fixed where it still was adding a group as secondary even though it was on the treat as primary list. Fixes #44.