‘Did you see who broke the window?’ – the owner asked the boy
Which answer is correct? The owner asked the boy whether he had seen who had broken the window or The owner asked the boy whether he saw who broke the window?
I would say that both are correct as Past Simple can change to Past Perfect or remains the same. Am I right?