use query-value-boolean to pick up boolean query values

/tTyY/ or any string that evaluates numerically to non-zero is
considered "true"