YOU SAID:
She had apparently been staying there
INTO JAPANESE
どうやら彼女はそこに滞在していた
BACK INTO ENGLISH
Apparently she was staying there
INTO JAPANESE
どうやら彼女はそこに滞在していた
BACK INTO ENGLISH
Apparently she was staying there
That didn't even make that much sense in English.