Fix cons to allow constructing non-collections.

Found by Xiangqi Li.