Minor bugfix. It mighthappen array[0] was not set. Now it only returns this key when it exsists.