fix bad range checking code...  incredible that this stuff still exists
fix bad range checking code...  incredible that this stuff still exists

pscedu/slash2-stable,pscedu/pfl,pscedu/pfl,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/pfl,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/pfl,pscedu/slash2-stable,pscedu/slash2-stable