fix Edm:Int64(long) query bug