fixed a pathological case where the repair bot would follow a functional bot repairing it