Now exports deleted notes as well. Basically done.