Recalculate pagination Query size if a limit is already set