Fixed error in 'getbalance' when using watchonly addresses.
Merge pull request #4525

d512534 Fixed error in 'getbalance' when using watchonly addresses. (JaSK)