"select * from users where threadid = ?",
                     [comment["threadid"]],
                     one=True)
+            if profile is None:
+                continue
             comment["content_userid"] = profile["userid"]
             comment["content_username"] = profile["username"]
         elif threadtype == comments.ThreadType.PLAYLIST:
                 [comment["threadid"]],
                 one=True,
             )
+            if playlist is None:
+                continue
             comment["playlistid"] = playlist["playlistid"]
             comment["name"] = playlist["name"]
             comment["content_userid"] = playlist["userid"]
                     INNER JOIN users ON jams.ownerid = users.userid
                     WHERE jam_events.threadid = ?
                     """, [comment["threadid"]], one=True)
+            if jam_event is None:
+                continue
             # TODO: This is duplicated in the JamEvent class
             startdate = datetime.fromisoformat(jam_event["startdate"]) if jam_event["startdate"] else None
             hidden = ((startdate is None) or startdate > datetime.now(timezone.utc))
 
 }
 
 .draggable-song {
-    box-shadow: 0px 0px 5px 0px;
+    /*box-shadow: 0px 0px 5px 0px;*/
+    border: 2px solid;
     border-radius: var(--radius);
     padding: 5px 10px;
     margin: 10px 0px;
 div.top-level-comment {
     margin-top: 10px;
     padding: 10px;
-    box-shadow: 0px 0px 5px 0px;
+    border: 2px solid;
     border-radius: var(--radius);
 }
 
     margin-top: 10px;
     margin-bottom: 10px;
     padding: 10px;
-    box-shadow: 0px 0px 5px 0px;
+    border: 2px solid;
     border-radius: var(--radius);
 }
 
     margin: 10px;
     padding: 10px;
     padding-bottom: 0px;
-    box-shadow: 0px 0px 20px 0px;
+    box-shadow: 0px 0px 10px 0px;
+    border: 2px solid;
     border-radius: var(--radius);
     background: var(--yellow);
 }
 .mini-player {
     margin: 10px;
     padding-left: 10px;
-    box-shadow: 0px 0px 20px 0px;
+    box-shadow: 0px 0px 10px 0px;
+    border: 2px solid;
     border-radius: var(--radius);
     background: var(--yellow);
 
 div.comment-notification {
     margin: 10px;
     padding: 10px;
-    box-shadow: 0px 0px 5px 0px;
+    box-shadow: 2px 2px 0px 0px;
+    border: 1px solid;
     border-radius: var(--radius);
 }