Fixed bug where first logline  never would be matched