Fix calc deleted tokens.