fix bug with nested array projection