Fix NullPointerException when delete range is null

Certain TextOperations got an extra check to see if they should be
skipped, this is signalled by a nulled TextRange. This check wasn't
copied from doIt to execute when commit
4d4c864138fc2a3bd4003773c6d273ec27451128 was made.