possible BUG: monero-wallet-rpc generates bad addresses? 
I have generated view only wallet and ran monero-wallet-rpc on a Linux server.
That sever generated new addresses via create_address RPC call.
After payment to these addresses the server correctly notified the receipt and confirmations.
These payments were confirmed on the chain however never showed up in the original non-viewonly wallet.
I have verified that wallet is properly synchronized, and that monero-wallet-rpc was not compromised by checking sha256.

When I started monero-wallet-rpc on my windows machine with the exact same view only .keys wallet, and did 
get_address_index call, it said: "Address doesn't belong to the wallet". I triple checked I'm using the same wallet file on Linux and Windows. On linux the get_address_index returned index around 2712. I confirmed that get_address_index for the primary address was working fine returning index 0 on both Linux and Windows.

These payments went to a black hole because monero-wallet-rpc possibly generated wrong addresses.
Could that wallet be somehow corrupted?
I generated a brand new wallet and the problem is gone. 
I'm wondering why this happed and where did my money go and will this happen again in future? 

