I am using the solution from Is it possible to fine-tune the citation positions in Tufte-BibLaTeX combination? which works nearly perfect. However the punctuation at the end of the citation is not consistent with \autocite.
In the following MWE, the first citation has no . at the end, but the second one has.
\documentclass[nobib]{tufte-handout}
\usepackage{xparse}
\usepackage{xpatch}
\usepackage[
style=verbose,
autocite=footnote,
backend=biber
]{biblatex}
\addbibresource{biblatex-examples.bib}
\makeatletter
\xpatchcmd{@footnotetext}%
{\color@begingroup}
{\color@begingroup\toggletrue{blx@footnote}}
{}
{}
\makeatother
\DeclareCiteCommand{\sidecitehelper}
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{cite:postnote}}
\ExplSyntaxOn
\NewDocumentCommand\sidecite{D<>{}O{}om}{%
\iftoggle{blx@footnote}
{\cs_set_protected_nopar:Npn __sct_wrapper:nn ##1 ##2 {\mkbibparens{##2}}}
{\cs_set_protected_nopar:Npn __sct_wrapper:nn ##1 ##2 {\sidenote[][##1]{##2}}}
{\IfNoValueTF{#3}
{__sct_wrapper:nn{#1}{\sidecitehelper[#2]{#4}}}
{__sct_wrapper:nn{#1}{\sidecitehelper[#2][#3]{#4}}}}
}
\ExplSyntaxOff
\begin{document}
This,\sidecite[8]{springer} should\autocite{springer} be a side note
\printbibliography
\end{document}
How can I make \sidecite consistent with \autocite?
