Fixed an introduced bug where the keys didn't get imported to the wallets