[[ Bug 6400 ]] Make sure singular tab buttons are marked as first and la...

...st.