Fixed a NPE (DIRMINA-982)
Fixed a bug in the getSlice() method : we were setting the position before the limit() (DIRMINA-981)