Remove restriction on reference array upon array with 0 lenght.