Actually, I think in standard practice notes an octave away aren't affected (and would need to be marked with their own accidental).
Scores do contain mistakes, though, so if you're working on a piece of music that sounds very wrong by this interpretation, it's possibly an error.
Rob