Convert user supplied data in the case of comparisons to doubles by default

This will probably have some performance impact, but it is kind of the only was
as we have no way of knowing if the user supplies a double or an int on compile time.