Fixed bug where ajax call for cluster would return object instead of array.