Fixed some bugs associated with adding judging comments.