Fixed utility for getting the limit