Happens in whatsapp only; when i type the text and after that hit select all and turn it into italics then the underscore pops up. “This message was deleted” appears when a user on whatsapp deletes the message using “Delete for all”.
Nothing wrong with the keyboard, i have four keyboards.
You try typing it on whatsapp; if you are using and then let me know what happens.