Fixed a typo that was not affecting the tests, but would have caused
problems in more general cases.
Moved saving of old alignment into a separate method in order to remove
potential issues arising from columns having their parent deleted before
having their previous state saved.

Also now handles the case where there are only internal characters at a
column (i.e. parent and/or grandpa), leaving such columns as they are.