deal with missing closing boundary

@bf4 @jeremy
Need a spec demonstrating that this works when there are more parts as well.