Improve logic of retrieving an estimate from the DB and reading status flags