Fix type() for lists of objects and paren-wrapped lists