Handle slices in loadValues