Fixed the logic for checking if the correct number of dimensions have been squeezed for a slice.
Fixed the logic for checking if the correct number of dimensions have
been squeezed for a slice.

spinicist/old_QUIT,spinicist/old_QUIT,spinicist/old_QUIT,spinicist/old_QUIT