WebComment: update & fix get_first_... function

* Updates and fixes template functions in WebComment so that
  `get_first_comments_or_remarks` is not broken anymore. (closes #2522)