The model now knows and respects the raw datatype being stored, and uses the appropriate function for comparisons.