I have the same problem.
With Business Central OnPrem Version
DE Business Central 20.0 (Platform 20.0.37114.38150 + Application 20.0.37253.38230)
data is not limited.
If I run the same code on Cloud Version:
DE Business Central 22.0 (Plattform 22.0.56306.0 + Anwendung 22.0.54157.54644)
data is limited as expected.
So it could be a bug.
Any suggestions what to do know?