#3728: native array inside compound attribute doesn't work

@pzion @phtaylor 

implemented missing cases.