#749 - handle list types correctly