[BUGFIX] Fix check type of leader