Problem with jail usage

Hello.

The panel version 1.9 is installed
When creating a new user either manually or via the API with the selected package, the jail is not applied for some reason.
You have to change the package for the user after creating it, and only then the jail is copied and applied to the user. And after applying, change the package to the required one. Why is that? Maybe you need to add something to cron?