Clean citation query text