Fix small bug in LiteralAutoEditStrategy

Before it was not possible to correctly delete selections containing
more than a single sign.