Fix bug with expand row paths restore