New 7.0.6 bug: Limit code returned unexpected value

Nice workaround, thanks for sharing.