lptool: fix removal of bug_tasks, work with closed milestones