set Comment.variant.nullable=False
use Text.HEAD when variant is None in comments_sorted
Migration: Make comment.variable not nullable
Merge pull request #518 from xi/feature-fix-comment-variant

fix comment variant