You guessed it right. The filter disappeared due to a number of reasons, which in essence were failures to pass along correct category data, and track the changes properly in the UI.
For more details on the applied fix, you can check FIX: subcategory filter should be always visible on category view page by yuriyaran · Pull Request #36050 · discourse/discourse · GitHub.