Currently the navigation menu (consisting of a list of posts) that appears on the front page of my wordpress site has the most recent post highlighted in it. However I don't want this. Is there a way I can change it so that on the front page the navigation doesn't have an on-state, but on all other post pages it does? Below is the code that I think it generating it.
<li<?php echo((!is_front_page() AND $post->ID == $wp_query->post->ID) ? ' class="selected"' : ''); ?>>
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
</li>