Delete old database tails