fix: avoid note ID collisions (#630)