Fix error paths when additionalItems is used with items keyword

This should take care of the issue in #122