Add special cases for case of primop returning 0/1