Fixed a bug when order_number were not updated after re-rendering