Prevent string comparison on numbers in custom binding