Fix insets

This is good, but we need a lot more tests like this.

Might be helpful to create some utility code to make it easier to generate this kind of training data.