Which of the phrases given below the sentence should replace the phrase printed in bold type to make it grammatically correct? If the sentence is correct as it is, mark 'E' as the answer.

They felt humiliated because they realised that they had cheated.

A.

have been cheated

B.

had been cheated

C.

had been cheating

D.

were to be cheated

E.

No correction required

Correct answer is B

No explanation has been provided for this answer.