- Fixing a bug reported in:

http://www.emitrom.com/node/803

- Essentially the old and new values in the returned function were
inverted.