New Blog Templates – having two different tempaltes set as default

I have a strange issue going on that I can not figure out.

I changed the color of the border around the templates when selected or set default to make it work better on my theme. After doing so I found that I have two templates that have the class "blog_template-default_item" on them.

To help debug I added some echo's on a few lines on the blogtemplates.php to help figure out why.

I have changed the default template to other templates, and remove the default template option from all.

In this block. if I have the 1st template set as default it triggers the if statement, the 3rd template triggers the else.

if ( $selected == $tkey ) {

$default = "blog_template-default_item";

}

else {

$default = @$options['default'] == $tkey ? "blog_template-default_item" : "";

}

When I remove the default templates from all of them, the 1st one is still highlighted on page load. If I pick a different category then it will show none selected like it should on page load.

If I set template 2, 3, 4 to default, the 1st one is still highlighted on page load. If I pick a different category.

Then set template1 back to default I get the 1st and 3rd highlighted.

I downgraded to pervious version but see the same thing. then took it back to the current version.