Fix thrown NameError

A NameError was introduced when the forcechange and nochange options were introduced.