Don't update sensitivity on wrong tab when a tab is removed

When a tab is removed, sensitivity is updated on the active tab
but at this time, the active tab is the removed tab, so we end with this :

CRITICAL **: update_next_prev_doc_sensitivity: assertion 'tab_number >= 0' failed

( searching a tab who is not in the active notebook return a tab_number of -1 )