replace $the_comment

This was pulled in the main query and needed to be pulled from the on
dup