Fixed crash during Note deletion.

* Crash would happen if a bunch of Notes were created, but then rapidly deleted.