Fixed bug in update_comments_search_index

Historal data affected by the bug has been corrected using:

UPDATE search_index s
   SET parent_item_id = c.item_id
  FROM comments c
 WHERE c.comment_id = s.item_id
   AND s.parent_item_id IN (4, 6);