Fix 456381 remove old entries.

Signed-off-by: Pengcheng Bian <pbian@actuate.com>