Fixed zero size array issue again. It has now allways one element.