Someone bought it, but at the same time someone sold it. Most likely the seller entered or put in the trade before the buyer did, so actually it was a sell even though it is listed as a buy.