Fix reading NULL array value