This looks like a debug hack.  Looks like single instances aren't handled properly here.