Fixes #3617: btl_base_select() needs to close unselected components

Original patch from ticket, not based on any SVN trunk r number.