fixing strange behavior of mongo: limiting big results to 1000 elements ...

...when calling toArray

- I failed to write unit test for that