YOU SAID:
Where were they though they thought they were not there but they thought wrong they were there
INTO JAPANESE
彼らはそこにいないと思っていたが、彼らはそこにいるのは間違っていると思ったが、彼らはどこにいたのか
BACK INTO ENGLISH
I thought they weren't there, they thought it was wrong to be there, but where were they?
INTO JAPANESE
彼らはそこにいないと思った、彼らはそこにいるのは間違っていると思ったが、彼らはどこにいたのだろうか?
BACK INTO ENGLISH
They thought they weren't there, they thought it was wrong to be there, but where were they?
INTO JAPANESE
彼らは彼らがそこにいないと思った、彼らはそこにいるのは間違っていると思った、しかし彼らはどこにいたのか?
BACK INTO ENGLISH
They thought they weren't there, they thought it was wrong to be there, but where were they?
That didn't even make that much sense in English.