Ok, it seems that you had the wrong status in your backup and so you have
imported it to your V4 installation.
The bug fix in V4 prevents that the problem can happen at all. But when you
restore a backup that already has a wrong license status then you can only
fix it manually.
You can fix it manually as described in this post.