May I suggest to use something else then `"undefined"` for a not defined tag? Maybe simply `nil`?