Fix reordering after change quantity