Fix for messed up lp calculation.
0.36.0