You probably caused the ASK to rise some while your first partial fill(S) were going through then you filled on the bid and it showed your buy as a sell since it went off at the bid price. HMMM does that make sense.