overcome arel bug on casting number fields value to 0