Which preposition to use with inadvertencies

of Occurrences 7%

But the impression left by this and others of Mrs. Haywood's works is that the fair novelist was not so much interested in preventing the inadvertencies of her sex as in exposing them.

in Occurrences 5%

He was in a deep musing when mademoiselle Charlotta, possessed that moment with a passion she till then was ignorant of, said to him; I find, Horatio, you have wonderfully improved the little time you have been in France, to gain you a multiplicity of mistresses; but I am sorry my inadvertency in talking to a man so doubly pre-engaged, should cause me to be reckoned among the number.

Which preposition to use with  inadvertencies