Fix for crash when user only has 1 group

@jburel The code in ImporterComponent was not consistent with the changes made in PR #536.

This resolves the issue and patches the bug caused when a user is only in 1 group.