Two days after her 40th birthday, Kelly discovered why her ribs were hurting