[BUG #8223] Check for empty selection when replacing multi selection
Merge pull request #81 from martijn4evers/fix

[BUG #8223] Check for empty selection when replacing multi selection