Detect null role