Jerry Scheff, Elvis's bassist, played a bum note on a song and they didn't have enough time to play the song again, so the offending note went out on the record. Jerry said he was driving, many years later, when a cover of the song came on the radio and the bass payer played the bum note! Jerry nearly drove off the road laughing!
If you have to play the original line, and there is an obvious mistake, play the right notes. But then I'd say in many songs the original line is only a guide. Play your line.