Fixed bug when adding a comment.