Apply limit in outer clause of getMultiple, but avoid full table scan
Use actual query we agreed upon
Modifications after review
Merge pull request #155 from wajam/alex-fix-limit-bug

Apply limit in outer clause of getMultiple, but avoid full table scan