Fixes roles being zero from default config event.