Removed a bug when fastswitching a config

Bug was crushing MATLAB when fast switching to a config with >1 # of
slices