Avoid multiple occurences of checked="checked" and selected="selected"