Update getArr to correctly deal withdata that isn't set