Fixed bug where parsing an empty array would result in a parse fail