Fix isadmin check