5528: fixed typos in selected tab check