Fix bug with getting admin status