Handling case where a local note may not have a localID.

Signed-off-by: Levi Brown <levigroker@gmail.com>