Fixed over-aggressive filtering for imported syntax