Fixes bug with rendering partials in nav-pills on legislators/show page.