Fixed sequence number assert
Merge remote-tracking branch 'niels/update_dispersy_ref' into devel
StatsDatabase, untested