There was a bug with that Clique-Identification tool.
At first I thought it was my formula was flawed, but it turns out MySQL was squaring negative numbers incorrectly. Example:
(-10)^2 = 100, but MySQL would return 18446744073709551613.
This has been resolved and the tool is now returning much more accurate results. Sorry I didn’t catch this sooner!