There is a problem in method "recognizeTheVisitor" in LogStats\Visit.php
When a visitors cookie is set but this visitor is not in the database anymore then no new visitor is written.
(In ) - fixed #408 recognizeTheVisitor doesn't save new visitor if cookie is set and visitor not found in DB
added extra logic and checks which should make piwik even more accurate in edge cases, without any overhead
(In ) -refs #408 fixing introduced notice when cookie disabled and new visit