ayende/ravendb — pull request #1161 by myarichuk (2014-07-10 09:47:00+00:00)
Title: Fix for RavenDB-2509 (failing smuggler tests with limit)

if remaining records (up to the limit) are smaller than batch size, use batch with appropriate size