Fixed edit bug, with Fredric Silberberg.