Fix unhelpful error message when nesting invalid.

See https://github.com/geier/khal/issues/105
now I'm curious if this was ever there and then omitted