Clearing selection on tabs change.