Fix a bug that messes up the range of the visits on google integration