Minor fix to sg break condition.