Do not attempt to expand functions in the middle of an iteration