It was when the doctor gave her a hug that Heather Knight realised she would be in a race to be fit for the World Cup.