Bug fix: int to range

Hopefully fixed problem with only creating axial slices...