Fixed failed grep which included first line