Right now all of the closed issues are used to calculate lead and cycle time, but bugs should be excluded. Maybe it would even make sense to have lead and cycle times for bugs.