Emit deletes safe so they correspond to create events.
Add test for snr replacement.
Merge pull request #3 from codio/replace

Emit deletes safe so they correspond to create events.