*7887* make selector for choosing initial tab more robust