Fix if statement

Fixed an if statement in omitting the lines in the file so we only have
lines of comments etc.