Correct off by one error in extraction code

Change-Id: I9fa22df3d9a3601da5abb565e35d04217ecb3f52
Merge topic 'update_extract_ugrid_piece' into master

fb3db594 Correct off by one error in extraction code