Fixes #2434 Tagging support allows creation of tags that are only whitespace