Fix float comparison