Return 0 if the tab "name" was not found