Made GetMovePlans() recursive.

I don't have enough tests to know that this works, but it didn't break
the existing tests.