Adding more expressive toString to AbstractQuery