Collections/Documents fix issue #2346

https://github.com/jekyll/jekyll/issues/2346