Add support for SelectOrSemiApply