Fix for #224: Fractional radical simplification

Fix for issue #224.
We can do that later too. It's just nice not to repeat the same code twice. Maybe we can refactor this into some function.