Steps to reproduce.
2. Add a Message Boards portlet to a page
3. Add a new Category
4. If you want you can add more Subcategories
5. Add a new thread inside of the added Category/Subcategory
6. Click on the Preview button
7. Click on the Publish button
The newly added Thread's location is the parent Category, not the selected one.