Fix empty array was displayed as object

Tested with Firefox 24.