Fixed a bug with namespace key for arrays