Avoid errors when no institution is passed to detail views