Add set-affinity, compile conditionals inside exists clauses.