Fixes _setLimits limits types