Merge pull request #301 from ndawe/master

Extremely minor fix in the _limits_helper()