Fix incorrect check in signMyInputs.