Resolve Null for null and 0 len array