Receive transaction not handled properly

A receive transaction with multiple outputs to the wallet is not handled
properly with only the last output being included in the transaction
history
Version 1.5

BitcoinWallet Version 1.5