AddLevelToWorld forces the world to be the current world context

Hi everyone,
I’m making a plugin that requires to add a streaming level to a persistent level.
I tried to use the function EditorLevelUtils::AddLevelToWorld, but it fails because of line 237:
InWorld->RefreshStreamingLevels( LevelsForRefresh );
it presupposes that we are doing this operation having the target world as the current world context, but i would add the level without be forced to switch to that level!

i copied the whole function omitting the refresh part, and it seems to work well.

is a so bad idea to check if we are in the current context before to force a refresh?