bug fix: calculate sentence loss for zero ranks