Remove old entires from the db.