Fixed trying to access adminid on invalid client in admins plugin