Do not create new visit if no referrer info in current action, but referrer info present in last action. Also add integration + system tests for new behavior.