Groups might not be recognised with the MyBB Importer

That’s the type of edge case that few importers handle. Your solution sounds like the most robust one. Usually, you have just one data set to go by and have neither the inclination nor any reason to catch stuff like that.