Fixed the bug that was adding a ghost piece

Apparently I had an if conditional indented too far over in apply_move.
It was moved back to the right spot, so it appears to be working
properly now.