Fixed bug when starting with empty array and then attempting to set an array literal