Fix compare

Um, what about using the Ruby `Numeric` class directly?