I wrote some tests for the LaTeX in preparation for fix this bug.
After an hour of narrowing down the code in the LaTeX generation. I came across this....
The abs value tells the function to ignore the signs of the symbols. The first symbol is treated differently from the other symbols some how.
Well I took a guess and comment that line out and this happened.
The bug is now fixed somehow? Or I might have introduced new bugs?