intervals manually removed from the text (by backspaces etc.) are also removed from the db