A criteria object returns only 100 entries if you don't use setSlice( 0, 0x7fffffff );
This might get a problem sometimes in the future