Selection

Fixed an issue with selection deletion.