[FIX] Preserve selection when deleting keys. [#177 state:fixed assigned:mento]