Fix bug causing collections with non-cached views not being rendered when caching is enabled.
Merge pull request #2 from DouweM/master

Fix bug causing collections with non-cached views not being rendered when caching is enabled.