CRM-12133: Changed OptionValue's auto-increment function to use numeric comparison instead of string comparison.
Merge pull request #309 from kirkatcaat/master

Fixes auto-increment in OptionValue BAO (CRM-12133)