fix exception during synchronization due to access to unset note's title