Prevents view from crashing when viewing a collection as an anonymous user