Ionic slide index can be greater than slides length

I have a ion-slides component with a few slides in ionic 3. When I reach the last slide I can no longer slide further (which is to be expected), however when I perform the swipe gesture at this point the activeIndex of the slider is incremented (not expected). I also see that the swiper-slide-active class is removed from the last slide (not expected).

Does anyone else experience this behaviour and/or has a fix for it?