I saw the earlier discussion Discourse Meta in which a non-zero topic_count field on a Category prevents its deletion. The problem I am seeing is that when I delete all the Topics in a Category (via the rails console - there were a lot of them in this case) the Edit Category dialog is still showing a topic_count greater than zero.
 pry(main)> Category.where("name like '%Suitability%'").first.topics =>   pry(main)> Category.where("name like '%Suitability%'").first.topic_count => 11
I checked and the
Jobs::CategoryStats worker has run since I delete the Topics. Have I done something wrong?