Fix while checking if sale is there in transaction