Thanks Michael, didn`t see that it couldn`t cast a null as it skips the last code on hand[3] and thus the old object is still in place.
Got a ....OutOfBoundsException when i tried your tip, but I threw in this at the end instead:
So now it works
Thanks again,
Haakon