Ensure groups have valid metadata