Bugfix for ensure line
Merge pull request #119 from jbzdak/has_line_bugfix

Bugfix for ensure line