Fixed Issue with empty array allocation.