Billiards Abuse?

The table is considered cleared even when there is still one ball left other than 8.

Steps to Reproduce

Please list how this bug can be reproduced, if possible. Pictures would be much appreciated!
Just play billiards, and when there is one ball left other than 8, finish the game by putting the 8, which then says the table is cleared.

What I expected to happen

The normal behavior.
The table should not be cleared since I put the 8 early.

What happened

The issue the bug caused.
The table is cleared apparently even when there is still one ball left.

Notes / Media

Other misc notes about the bug. Picture or videos would be much appreciated!
I am pretty sure any ball works. I am assuming it is something to do with the less than or greater than sign.