Small issue with signatures in a TH splice (fixes Trac #8932)