Fixes printing of labels for arrays