Fix role filtering.