How does the sentence end?

Monica was operating under the impression that Amy agreed with them, but
Monica was mistaken.