Simplify source selection detection