Reworked deleting of extra external bugs for improved performance.