Ship attempting to repair itself causes crash

I’m FAIRLY sure it’s why it’s crashing but when I select some repair ships and attempt to (and I don’t think it works how I want it to: I want them to spread out and all find damaged ships) use Y for repair and then block select everything, if my selection includes a damaged repair ship I just ordered to go repair stuff, the game crashes.

It’s happened twice now to me. I was using repair corvettes for this action.