Fix #493: HTTP 500 error when navigating to collection
Merge pull request #496 from javierluraschi/Fix493

Fix #493: HTTP 500 error when navigating to collection