diff --git a/templates/manage_ipsearch.html b/templates/manage_ipsearch.html
index 90e0720a..34852302 100644
--- a/templates/manage_ipsearch.html
+++ b/templates/manage_ipsearch.html
@@ -39,7 +39,7 @@
{{- if ne .Email ""}}{{end -}}
{{- if ne .Tripcode ""}}!{{.Tripcode}}{{end}} {{formatTimestamp .Timestamp}}
- No. {{.ID}}
+ No. {{.ID}}
{{- if eq .Filename "deleted" -}}
{{- else -}}
{{- end -}}
-{{if not (isOP $.post)}}{{template "nameline" .}}{{end -}}
+{{if not $.post.IsTopPost}}{{template "nameline" .}}{{end -}}
{{- if eq $.post.Filename "deleted" -}}
File removed
@@ -34,7 +34,7 @@
{{- template "uploadinfo" . -}}

{{- end -}}
-{{- if isOP $.post}}{{template "nameline" .}}{{end -}}
+{{- if $.post.IsTopPost}}{{template "nameline" .}}{{end -}}
{{.post.MessageHTML}}
-
{{if not (isOP $.post)}}
-{{if not (isOP $.post)}}
{{end}}{{end}}
+
{{if not $.post.IsTopPost}}
+{{if not $.post.IsTopPost}}{{end}}{{end}}