FIX: ensures edit-category-setting is correctly casting boolean (PR #9999)

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/topic-list-sort-by-stuck-on-false/154042/3