diff --git a/src/switch_xml.c b/src/switch_xml.c
index 18fd51009a..ab69754241 100644
--- a/src/switch_xml.c
+++ b/src/switch_xml.c
@@ -951,8 +951,8 @@ static int preprocess(const char *file, int write_fd, int rlevel)
char *arg, *e;
char *bp = expand_vars(buf, ebuf, sizeof(ebuf), &cur);
- /* we ignore or for the sake of validators */
- if (strstr(buf, "") || strstr(buf, "")) {
+ /* we ignore or for the sake of validators as well as type stuff */
+ if (strstr(buf, "") || strstr(buf, "") || strstr(buf, "")) {
continue;
}