Fix error with PRETEND flag.