When the NextValue() and IsLast() functions were used together in a row rule, rows could sometimes be left out from the final output. This has now been fixed.