Fixes #5601 allowing empty tags to pass through to clear previous tags