Fix bug where infinite looping would occur after several invocations of
EMIT-UTILITY-CODE.