Fix float comparison problem.