Increase robustness to invalid polys