Added an assert to catch using IsDefaultValue with an abstract type