Sentence: What Medea wondered if was the potion was ready

Linguistic integrity: unacceptable

Sentence: There was a snake behind the car Fred was sitting in.

Linguistic integrity: acceptable

Sentence: Every student who attended the party had a good time.
Linguistic integrity: acceptable