Bugfix on expanding last row of a grouped view

When you have a grouped view, and expanding the last one there are 2 problems:
1) The last row expander style is not changed
2) Expanding another row, will duplicate the last one