Merge pull request #2 from dalanhurst/master

Fix broken pagination when lazy-loading a collection