check that it won't override current streak with a smaller one

This fixes issue #16.

It checks to make sure that new streaks don't overwrite streaks already stored in the db that are larger.