Fix deformation limits check.