fix Emd:Int64(long) query bug