The main question i'm wondering here is: why?
Why have it grab the members badge in the first place? Performance issues? I mean, the Groups section in SMF 2.0 fetches the membergroup badge, so there should be some way to just fetch the badge by itself. Why wasn't this done to begin with?