Fix problem with empty actor or role tags.