Fixed bug with selection of subtabs on data tab