bugfix for broken migration when sites don't have group id=1