check for the context of the corrected line.

Cassandra can be shutdown with kill -9 cassandra-pid but, some writes to the index may be flushed/may not be flushed when using this method.
Merge pull request #19 from raginiw/patch-5

check for the context of the corrected line.