Apologies if this has already been said but I haven't read all posts.
They've said on World At One that this is a "personal" matter and nothing to do with the job.
I'd have to say that if that's true, then I would have told her to stay out of the chamber - for two reasons:
First, it looks bad for Keir as people might think he's forced her to appear when she shouldn't be there
Second, simple kindness would say don't put her in the spotlight - particularly today
Starmer and his Whips don't have a clue how to do politics