Potential fix for a Merc deconstructor crash.

Not exactly sure if this will fix it but it's worth a shot.