This appears to happen due to argument positions, and the fact that tallyVotesForShouldUseDoubleFormat() doesn't set NotUsingDoubleFormat. A great example of this is the test case for https://bugs.webkit.org/show_bug.cgi?id=109491
Created attachment 232813 [details] test case