Fix issue with pubkey not correctly being added.