Bring the code in limit() in sync with the same code in other parts of Loki
Bring the code in limit() in sync with the same code in other parts of Loki

thrownblown/LokiJS,Thrilleratplay/LokiJS,techfort/LokiJS,thrownblown/LokiJS,ThomasConner/LokiJS,VladimirTechMan/LokiJS,Thrilleratplay/LokiJS,runnr/LokiJS,ThomasConner/LokiJS,VladimirTechMan/LokiJS,techfort/LokiJS,runnr/LokiJS