Fixed compare doubles #275