Fixed NPC database error and NPC processing on map load