can undiagnosed cancer cause miscarriage