Ensure p13n transportation is in a valid state.

Fixes #172.