Bug fix - Array parameter not parsed properly

Fixed bug where the array parameter was not parsed properly.