Small fix on tags sanitization