Raise meaningful exception if amendment doesn't have a selection.

Such broken data exists due to a previous bug. This makes it easier to
detect that.