 
             revenue = Math.floor Math.random() * 100
 
-            if day >= joinDay and day <= joinDay + activeDays
+            if day >= joinDay and day < joinDay + activeDays
               flare
                 .thru (flare) ->
                   Promise.map events, (event, index) ->

      flare
        .thru util.createUser({joinDay: joinDayEpoch})
        .thru (flare) ->
          # user generates 7 days of activity
          Promise.each _.range(7), (day) ->
            timestamp = Math.floor((Date.now() - MS_IN_DAY * (6 - day)) / 1000)
            refererHost = _.sample [
              'google.com', 'clay.io', 'github.com', 'youtube.com', undefined
            ]

  Promise.map namespaces, (namespace) ->
    # 50 users
    Promise.map _.range(50), ->
      daysToSimulate = 8
      activeDays = _.sample [1, 1, 1, 2, 3]
      joinDay = _.sample _.range(daysToSimulate)
      joinDayEpoch = String(
        Math.floor (Date.now() - MS_IN_DAY * (daysToSimulate - joinDay)) \
          / 1000 / 60 / 60 / 24
      )
      userAgent = _.sample [
        'Mozilla/5.0 (Linux; Android 4.4.2;
