Added some form safety measure for strange line limits.