Only pass limit parameter if pagination is active