Fix LJ type assignment -- and this should also fix NBFIXes.
Better floating point equality comparisons.