-Fixing a small tab selection related bug