Fixing tag filtering in `qh` script