Fix sending mixed delete/insert text commands for WebOSService.