See my answer to @Katha about why this isn’t so easy.
I totally agree the tool should do something more sensible, though.