Debug statements in 'ixquery' function.