Fixed updating rows order. Bug #98.