Fix JS error when attempting to sort a deleted comment.