Fixed broken condition