Fix WeakMap delete

Fixes #5