diff --git a/microprofile_html.h b/microprofile_html.h
index fc529fc..73176c7 100644
--- a/microprofile_html.h
+++ b/microprofile_html.h
@@ -6669,7 +6669,7 @@ const char g_MicroProfileHtml_end_4[] =
" Pairs[i] = -1;\n"
" var ID = Ids[i];\n"
" var match = Matching[ID];\n"
-" if(match)\n"
+" if(match != null)\n"
" {\n"
" if(match > Ids.length || match < 0)\n"
" debugger;\n"