The loophole the husband created unintentionally created an opportunity for his wife to have an affair