Fixed routes rebuild issue on reorder