rechecking database when encountering previously saved ledgers