Hi,
That is a default WordPress select query, we only pass variable to that, we do not create it as such.
There is nothing I can see that we do to strip characters from a category slug, it simply gets the category slug as entered by you initially.
I’ll run this by our developer to double check.
– David.