correct yesterdays transcations query