During db insertion, don't neglect the first tag after stripping whitespace.

[Fix #49417729]