I know this doesn't answer the question properly, but it is possible to display an icon representing yes or no in queries.
This might be a feasible workaround, and in my opinion, looks more nice:

This works by setting the Presentation rules on the attribute level:

Then setting the query "Display as" like:
