Automatically switch to buffer if predicate return only one item.