Check for cyclic roles (MID-1751)