key_commit: Fixed the change accountcode routine to handle targetaccounts as well