Tweaked valid chromosome check.