Don't attempt swaps with NSNotFound positions.

Closes #36