Fix limit value bug for 1.5.6.1 branch. Already patched in master. Ref b2f58b6