Fix contenteditable before caret detection.
When deleting with caret in contenteditable, empty tags before caret are bypassed and removed in process.
Thus these tags should be ignored in detection.