Spock and the doctor

Kirk wants to go down to a planet with Bones and a geologist. The M-5 recommends sending different people because Kirk is “non-essential personnel”. Doesn’t the computer know that Kirk is the main character and gets to go everywhere?