Utils: fix in cleanArray() handling null values