More bugfixes for polynomial roots