fix kundera-mongo maxresult handling