Speed up parsing when --has-tag is used with other filters