Type assert GetNewAddressCmd correctly.