Fix undefined index notice when logged in as editor or below