Fix out of bounds crash in GetNPC()

Silly me tried to start with index number 1, today. Unfortunately, there was just one NPC and I killed the whole world.
Let's prevent silly me from killing the whole world...