Roles not inheriting from template

I created a couple of new roles and placed them in my template.

The design changes got inherited correctly when performing a design refresh but the two new roles did not get inherited.

This has always worked the past. Any idea what would cause this not to work?

In addition, I have a second database where the roles got inherited from the template but roles that are no longer used and were removed from the template, were not removed after a design refresh of the database.