Bugfix in extract_bboxes which could cause regex mismatch.