Be case-sensitive when checking for line changes

Fixes issue #6