small fix to consensus to make tests a bit more reliable