Bug fix to mark the line where the term is to provide parity with previous version