[TASK] Set Limit if only offset is used

Change-Id: Ie86f082cc960e85fac7ddb1083353435f365bfa3
Resolves: #52655
Reviewed-on: https://review.typo3.org/30210
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer