iscc: properly handle applications of functions on sets