Reverting getGroups to use seq
https://jira.inside-box.net/browse/OPS-16053