Fixes handling of the .parameters array for subexpressions (slices) taken from compound models.