Fixed the subtle bug of induced zero rows