Fix the detect_bugs routine, which was failing to find the right bit