SPPersistentMutableDictionary: Fixes mutex glitch

Fixes #309