double elimination end of race bugfix