CROWDCON-4 Fixed more bugs in TSQuery