Work-around for https://github.com/mattn/go-sqlite3/issues/39
Fixing multiple write header calls on delete
Fixing bug in creating new registrations