Fixed a bug in list construction from an array (varargs).