Improve elements before cursor detection for delete.