fixes demo controller to not insert duplicate ids

Change-Id: If1aa20e8f388cc076d237e8de9e52aa9e7d7e7f0
Merge branch 'master' of ssh://gerrit.wikimedia.org:29418/analytics/wikimetrics
bytes added between clause was broken

Change-Id: I9c9b11939030821ef7b905ee4ecbd00b17431cc9
Merge "bytes added between clause was broken"