Implemented error checking for tag lists in the CommentData class.