add support for selection=old
Support for selection=old.