Yes, it is supposed to do that, but before it changes from 23 to 34 it processes 10 upgrade codes. When you changed it from 23 to 33 it only processed one code (33 to 34), missing all the ones from 23 to 33.
But it seems that was not the problem anyway, although it is good to have fixed it as you might have had other problems later.
The code is failing where it tries to create the menus. Do you have any extra menus, page menus, gallery menus etc?
Are there any non-standard files in the folder /themes/kiwitrees/?