This if statement seems redundant since MB.unite should take care of it anyway (and you're saving very little by doing this check beforehand), but I left it in just in case.