Prevent list to array converter to return confusing result on empty list