Bugfix: Do not check for protection at the end of the line.