Fix failure when 'slices' is not set