Prevent php notice of undefined variable $dashboard when $this->uri->segment(2) != '';