Improved saving of visits in Redis