Fixes #5216: Removes Exception thrown in ElggViewService::renderView_