Schema.Model seems to use strings instead of int for compare()