What's up here?

I was playing around yesterday checking a few airports and noticed this pattern out of Charlotte. It appears the aircraft took off, made a right turn, and then began a series of long loops eventually returning to the airport. But then it seems to take its regular flight path as if nothing happened.
Bad data? Or did this really happen?

Look like data from an arriving aircraft and departing aircraft got commingled.