Fix handling of array expressions with omitted elements.