Rewind rows iterator after reading data for joins