CORE: Attempt fix for GetAllCoinsIndexBased erratic behaviour
CORE: Attempt fix for GetAllCoinsIndexBased erratic behaviour

If we had not yet flushed everything in the database to disk we were sometimes returning an invalid set

nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official