One other sister will have the same operation in two weeks' time while another went through the same procedure two years ago. No, it is not hereditary; it could happen to any women in a childbearing age. Apparently removal of ovarian cysts is a common surgical procedure done to women. If you would like to read more about it, please go here.
Anyway, good well soon Sis. And see back at home soon.