Fix bug in signature algorithm copy.