Fix previous posts links in own profile (follow-up)

The original commit didn't fully fix this. This completes the fix.

Fixes: #45
Change-Id: I031e1702526945fc7acc68c6dbc3f665bcee1e6a
diff --git a/src/content_scripts/console_inject.js b/src/content_scripts/console_inject.js
index 78c97f4..2fe30d6 100644
--- a/src/content_scripts/console_inject.js
+++ b/src/content_scripts/console_inject.js
@@ -578,7 +578,11 @@
 
   var forumId = location.href.split('/forum/')[1].split('/')[0] || '0';
 
-  var name = escapeUsername(nameElement.textContent);
+  var nameTag =
+      (nameElement.tagName == 'EC-DISPLAY-NAME-EDITOR' ?
+           nameElement.querySelector('.top-section > span') ?? nameElement :
+           nameElement);
+  var name = escapeUsername(nameTag.textContent);
   var query1 = encodeURIComponent(
       '(creator:"' + name + '" | replier:"' + name + '") forum:' + forumId);
   var query2 = encodeURIComponent(