[backend] fix typo in signer flavor calculation