Fixing the is_straddling bug [ci skip]