Minor improvement to allow proper removal of clauses when there are spaces between the term and the full stop