Fix unspecified role versions.

Fixes #9236