Make handling of invalid in IsMine more uniform
Make handling of invalid in IsMine more uniform

chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin