You're right. I'll fix it and add some unittests related to ranges/roots.