It sounds like maybe some tables aren't emptied. Run these queries to make sure the proper tables are empty, the first one should also reset the auto_increment.

SQL Query
truncate table ubbt_FORUMS

SQL Query
delete from ubbt_FORUM_PERMISSIONS where FORUM_ID <> 'New Forum Template'