Fixed a bug in the tiebreakers of flush calculations. Updated the test
to ensure this will not occur.