Fix inherited type properties to emit the correct SQL