visiting her in hospital , olga found that their motives had been similar ; katya had been appalled to find that ivanov , for whom marital fidelity was simply an obstacle to his own sexual conquests , had used her merely to dispose of an inconvenient husband .